var express = require('express');
var router = express.Router();
const classService = require('../service/classService');

router.get('/all',async function(req,res){
    let data = await classService.findAll();
    console.log("data",data)
    res.send(data);
});

module.exports = router;